<?php
// +----------------------------------------------------------------------
// | Description: 用户表
// +----------------------------------------------------------------------
// | Author: orchief
// +----------------------------------------------------------------------
// | Date: 2018-01-24 16:50:46
// +----------------------------------------------------------------------

namespace App\Validate;

use App\Common\Validate;

class PuduMembers extends Validate
{
    protected $rule = array(
        'cellphone' => 'require|mobile',
        'username' => 'require|unique:pudu_members'
    );
    protected $message = array(
        'cellphone.mobile' => '手机号格式错误',
        'username.require' => '请输入用户名',
        'username.unique'  => '用户名已存在'
    );
    protected $scene = [
    ];
}
